import 'babel-polyfill' // es6语法补充
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import VueLazyLoad from 'vue-lazyload'
import faskclick from 'fastclick' // 取消300毫秒的延时

import '@/common/stylus/index.styl'
faskclick.attach(document.body) // 装载到dom上

Vue.config.productionTip = false
Vue.use(VueLazyLoad, {
  loading: require('common/image/default.png')
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
	store,
  router,
  render: h => h(App)
})
